package com.wasion.pwportable.protocol.analyzer.indicator;

import com.wasion.pwportable.protocol.Result;
import com.wasion.pwportable.protocol.analyzer.AbstractAnalyzer;

/**
 * 
 * @ClassName: Common_WR_Analyzer
 * @Description: 2D. 运行参数相关信息
 * @author 高意
 * @date 2014-9-11 上午10:06:26
 * 
 */
public class Common_WR_Analyzer extends AbstractAnalyzer {

	@Override
	public void dataAnalysis(String ackBS) {

		String actionRely = ackBS.substring(DATABITSTART, DATABITSTART + 2);
		if (actionRely.equalsIgnoreCase(Result.OK))
			result.setActionReply(Result.SUCCESS);
		else
			result.setActionReply(Result.FAILED);
	}
}
